<include file="/public/header" />
<div class="layui-fluid" >
  <form class="layui-form layui-form-fixed" >
    <gt name="$data.id" value="0"><input type="text" name="id" value="{$data.id}" hidden=""></gt>
    <div class="layui-form-item">
      <label class="layui-form-label"><font color="red">* </font>{:__('附件名称')}</label>
      <div class="layui-input-block">
        <input name="filename" placeholder="{:__('请输入附件名称')}" type="text" class="layui-input" value="{$data.filename}"  lay-verify="required" />
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label"><font color="red">* </font>{:__('附件分类')}</label>
      <div class="layui-input-block">
        <input name="type" placeholder="{:__('请输入附件分类')}" type="text" class="layui-input" value="{$data.type}"  lay-verify="required" />
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label"><font color="red">* </font>{:__('附件地址')}</label>
      <div class="layui-input-block">
        <input name="url" type="text" class="layui-input" value="{$data.url}"  lay-verify="required" />
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label"><font color="red">* </font>{:__('附件mimeType')}</label>
      <div class="layui-input-block">
        <input name="mimetype"  type="text" class="layui-input layui-disabled" value="{$data.mimetype}" disabled lay-verify="required" />
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label"><font color="red">* </font>{:__('附件哈希值')}</label>
      <div class="layui-input-block">
        <input name="sha1" type="text" class="layui-input layui-disabled" value="{$data.sha1}" disabled  lay-verify="required" />
      </div>
    </div>

    <div class="layui-footer" style="text-align: center;">
      <button class="layui-btn layui-btn-primary" type="button"  sa-event="closeDialog" >取消</button>
      <button class="layui-btn layui-btn-normal" lay-filter="submitIframe" type="button" lay-submit>提交</button>
    </div>
  </form>
</div>
<include file="/public/footer" />